package router

import (
	"github.com/gin-gonic/gin"
	"home-guard/handler"
)

func Init() *gin.Engine {

	r := gin.Default()
	r.GET("listart", handler.ListArt)
	r.GET("detail", handler.Detail)
	return r
}
